package com.qiuhui;

/**
 * @ClassName: HelloService
 * @Description: TODO
 * @author: tian
 * @date: 2021/4/1  6:28 下午
 */
public class HelloService {
    HelloProperties helloProperties;

    public HelloProperties getHelloProperties() {
        return helloProperties;
    }

    public void setHelloProperties(HelloProperties helloProperties) {
        this.helloProperties = helloProperties;
    }

    public String sayHello(String name){
        return helloProperties.getPrefix() + name + helloProperties.getSuffix();
    }
}
